/**
 * Copyright (c) 2010 Axa Holding Belgium, SA. All rights reserved.
 * This software is the confidential and proprietary information of the AXA Group.
 */
package chabernac.proxyserver;

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;

public class PSocket extends Socket {
  private boolean isProxySocket;
  
  public PSocket(boolean isProxySocket){
    this.isProxySocket = isProxySocket;
  }
  
  public PSocket(String aHost, int aPort, boolean isProxy) throws UnknownHostException, IOException{
    super(aHost, aPort);
    isProxySocket = isProxy;
  }

  public boolean isProxySocket() {
    return isProxySocket;
  }
}
